<!--

     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->

<html>
<head>
    <!-- Generated by groovydoc (2.4.5) on Mon Sep 12 08:35:24 CEST 2016 -->
    <title>Route (Groovy Documentation)</title>
    <meta name="date" content="2016-09-12">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
    <link href="../../../../../groovy.ico" type="image/x-icon" rel="icon">
    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">

<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
    parent.document.title="Route (Groovy Documentation)";
}
//-->
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
    <!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../../index-all.html">Index</a></li>
        <li><a href="../../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../../index.html?io/vertx/groovy/ext/web/Route" target="_top">Frames</a></li>
            <li><a href="Route.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <a name="skip-navbar_top">
        <!--   -->
    </a></div>
<!-- ========= END OF TOP NAVBAR ========= -->

<!-- ======== START OF CLASS DATA ======== -->
<div class="header">

    <div class="subTitle">Package: <strong>io.vertx.groovy.ext.web</strong></div>

    <h2 title="[Groovy] Class Route" class="title">[Groovy] Class Route</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><ul class="inheritance"></ul></li><li>io.vertx.groovy.ext.web.Route
</ul>
<div class="description">
    <ul class="blockList">
        <li class="blockList">



    <p> A route is a holder for a set of criteria which determine whether an HTTP request or failure should be routed
 to a handler.
</p>

          </li>
    </ul>
</div>

<div class="summary">
    <ul class="blockList">
        <li class="blockList">
        <!-- =========== NESTED CLASS SUMMARY =========== -->
        

        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
        
        <!-- =========== FIELD SUMMARY =========== -->
        

        <!-- =========== PROPERTY SUMMARY =========== -->
        

        <!-- =========== ELEMENT SUMMARY =========== -->
        

        
        <!-- ======== CONSTRUCTOR SUMMARY ======== -->
        <ul class="blockList">
                <li class="blockList"><a name="constructor_summary"><!--   --></a>
                    <h3>Constructor Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Constructor and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst">
                                <code><a href="#Route(java.lang.Object)">Route</a></strong>
                                (java.lang.Object delegate)</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
        </ul>
        

        
        <!-- ========== METHOD SUMMARY =========== -->
        <ul class="blockList">
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Type</th>
                            <th class="colLast" scope="col">Name and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#blockingHandler(Handler<RoutingContext>)">blockingHandler</a></strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; requestHandler)</code><br>Like <a href='../../../../../io/vertx/groovy/ext/web/Route.html#blockingHandler' title='Route.blockingHandler'>Route.blockingHandler</a> called with ordered = true</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#blockingHandler(Handler<RoutingContext>, boolean)">blockingHandler</a></strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; requestHandler, boolean ordered)</code><br>Specify a blocking request handler for the route.
 </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#consumes(java.lang.String)">consumes</a></strong>(java.lang.String contentType)</code><br>Add a content type consumed by this route. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#disable()">disable</a></strong>()</code><br>Disable this route. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#enable()">enable</a></strong>()</code><br>Enable this route.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#failureHandler(Handler<RoutingContext>)">failureHandler</a></strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; failureHandler)</code><br>Specify a failure handler for the route. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getDelegate()">getDelegate</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getPath()">getPath</a></strong>()</code><br>@return the path prefix (if any) for this route</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#handler(Handler<RoutingContext>)">handler</a></strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; requestHandler)</code><br>Specify a request handler for the route. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#last()">last</a></strong>()</code><br>Specify this is the last route for the router.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#method(io.vertx.core.http.HttpMethod)">method</a></strong>(io.vertx.core.http.HttpMethod method)</code><br>Add an HTTP method for this route. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#order(int)">order</a></strong>(int order)</code><br>Specify the order for this route. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#path(java.lang.String)">path</a></strong>(java.lang.String path)</code><br>Set the path prefix for this route. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#pathRegex(java.lang.String)">pathRegex</a></strong>(java.lang.String path)</code><br>Set the path prefix as a regular expression. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#produces(java.lang.String)">produces</a></strong>(java.lang.String contentType)</code><br>Add a content type produced by this route. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#remove()">remove</a></strong>()</code><br>Remove this route from the router</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#useNormalisedPath(boolean)">useNormalisedPath</a></strong>(boolean useNormalisedPath)</code><br>If true then the normalised request path will be used when routing (e.g. removing duplicate /)
 Default is true</td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Inherited Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Methods inherited from class</th>
                            <th class="colLast" scope="col">Name</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>class java.lang.Object</strong></code></td>
                            <td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()</code></td>
                        </tr>
                    </table>
                   </ul>
              </li>
                
        </ul>
        
    </li>
    </ul>
</div>

<div class="details">
    <ul class="blockList">
        <li class="blockList">
           

            

            

            

            
            <!-- =========== CONSTRUCTOR DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="constructor_detail">
                    <!--   -->
                </a>
                    <h3>Constructor Detail</h3>
                    
                        <a name="Route(java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><strong>Route</strong>(java.lang.Object delegate)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            


            
            <!-- =========== METHOD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="method_detail">
                    <!--   -->
                </a>
                    <h3>Method Detail</h3>
                    
                        <a name="blockingHandler(Handler<RoutingContext>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>blockingHandler</strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; requestHandler)</h4>
                                <p> Like <a href='../../../../../io/vertx/groovy/ext/web/Route.html#blockingHandler' title='Route.blockingHandler'>Route.blockingHandler</a> called with ordered = true <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD>requestHandler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="blockingHandler(Handler<RoutingContext>, boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>blockingHandler</strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; requestHandler, boolean ordered)</h4>
                                <p> Specify a blocking request handler for the route.
 This method works just like <a href='../../../../../io/vertx/groovy/ext/web/Route.html#handler' title='Route.handler'>Route.handler</a> excepted that it will run the blocking handler on a worker thread
 so that it won't block the event loop. Note that it's safe to call context.next() from the
 blocking handler as it will be executed on the event loop context (and not on the worker thread.

 If the blocking handler is ordered it means that any blocking handlers for the same context are never executed
 concurrently but always in the order they were called. The default value of ordered is true. If you do not want this
 behaviour and don't mind if your blocking handlers are executed in parallel you can set ordered to false.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>requestHandler</code> -  the blocking request handler</DD><DD><code>ordered</code> -  if true handlers are executed in sequence, otherwise are run in parallel</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="consumes(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>consumes</strong>(java.lang.String contentType)</h4>
                                <p> Add a content type consumed by this route. Used for content based routing.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>contentType</code> -  the content type</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="disable()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>disable</strong>()</h4>
                                <p> Disable this route. While disabled the router will not route any requests or failures to it.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="enable()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>enable</strong>()</h4>
                                <p> Enable this route.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="failureHandler(Handler<RoutingContext>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>failureHandler</strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; failureHandler)</h4>
                                <p> Specify a failure handler for the route. The router routes failures to failurehandlers depending on whether the various
 criteria such as method, path, etc match. There can be only one failure handler for a route. If you set this more
 than once it will overwrite the previous handler.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>failureHandler</code> -  the request handler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="getDelegate()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Object <strong>getDelegate</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getPath()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.String <strong>getPath</strong>()</h4>
                                <p>
   <DL><DT><B>Returns:</B></DT><DD>the path prefix (if any) for this route</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="handler(Handler<RoutingContext>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>handler</strong>(io.vertx.core.Handler&lt;<a href='../../../../../io/vertx/groovy/ext/web/RoutingContext.html' title='RoutingContext'>RoutingContext</a>&gt; requestHandler)</h4>
                                <p> Specify a request handler for the route. The router routes requests to handlers depending on whether the various
 criteria such as method, path, etc match. There can be only one request handler for a route. If you set this more
 than once it will overwrite the previous handler.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>requestHandler</code> -  the request handler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="last()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>last</strong>()</h4>
                                <p> Specify this is the last route for the router.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="method(io.vertx.core.http.HttpMethod)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>method</strong>(io.vertx.core.http.HttpMethod method)</h4>
                                <p> Add an HTTP method for this route. By default a route will match all HTTP methods. If any are specified then the route
 will only match any of the specified methods
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>method</code> -  the HTTP method to add</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="order(int)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>order</strong>(int order)</h4>
                                <p> Specify the order for this route. The router tests routes in that order.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>order</code> -  the order</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="path(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>path</strong>(java.lang.String path)</h4>
                                <p> Set the path prefix for this route. If set then this route will only match request URI paths which start with this
 path prefix. Only a single path or path regex can be set for a route.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>path</code> -  the path prefix</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="pathRegex(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>pathRegex</strong>(java.lang.String path)</h4>
                                <p> Set the path prefix as a regular expression. If set then this route will only match request URI paths, the beginning
 of which match the regex. Only a single path or path regex can be set for a route.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>path</code> -  the path regex</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="produces(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>produces</strong>(java.lang.String contentType)</h4>
                                <p> Add a content type produced by this route. Used for content based routing.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>contentType</code> -  the content type</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="remove()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>remove</strong>()</h4>
                                <p> Remove this route from the router
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="useNormalisedPath(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/web/Route.html'>Route</a> <strong>useNormalisedPath</strong>(boolean useNormalisedPath)</h4>
                                <p> If true then the normalised request path will be used when routing (e.g. removing duplicate /)
 Default is true
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>useNormalisedPath</code> -  use normalised path for routing?</DD></DL></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            
        </li>
    </ul>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
    <!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../../index-all.html">Index</a></li>
        <li><a href="../../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../../index.html?io/vertx/groovy/ext/web/Route" target="_top">Frames</a></li>
            <li><a href="Route.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <p>Groovy Documentation</p>
    <a name="skip-navbar_bottom">
        <!--   -->
    </a>
    </div>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>